package com.toocms.jinjuhang.data.system

data class CateListData(val list: List<CateItemData>?)

data class CateItemData(val cate_id: String?, val name: String?, val az_id: String?) {
    val id: String
        get() {
            val result = if (!cate_id.isNullOrEmpty()) {
                cate_id
            } else if (!az_id.isNullOrEmpty()) {
                az_id
            } else {
                ""
            }
            return result
        }
}